export type GetReturnOfAsyncFunction<T extends (args: any) => any> = Awaited<ReturnType<T>>
export type OrderDetail = GetReturnOfAsyncFunction<typeof Manycore.Integration.FOP.getOrderAsync>
export type Groups = GetReturnOfAsyncFunction<typeof Manycore.Integration.Bom.findGroupsByOrderIdAsync>['groups']
export type Materials = GetReturnOfAsyncFunction<typeof Manycore.Integration.Bom.findMaterialsAsync>
